package com.vanke.vms.management.service.serviceImpl;

import java.util.List;

import com.vanke.vms.common.domain.AddInfo;
import com.vanke.vms.common.domain.Info;
import com.vanke.vms.management.dao.ModifyInfoDao;
import com.vanke.vms.management.service.ModifyInfoService;

public class ModifyInfoServiceImpl implements ModifyInfoService {
	private ModifyInfoDao modifyInfoDao;

	public Info loadInfo(String modifyInfoId){
		return modifyInfoDao.loadInfo(modifyInfoId);
	}
	
	public List<AddInfo> loadAddiInfoList(String modifyInfoId){
		return modifyInfoDao.loadAddiInfoList(modifyInfoId);
	}
	
	public String modifyInfo(String modifyInfoId, Info info, List<AddInfo> addiInfoList){
		return modifyInfoDao.modifyInfo(modifyInfoId, info, addiInfoList);
	}
	
	//////////////////////////////////////////////////set and get
	public ModifyInfoDao getModifyInfoDao() {
		return modifyInfoDao;
	}

	public void setModifyInfoDao(ModifyInfoDao modifyInfoDao) {
		this.modifyInfoDao = modifyInfoDao;
	}

}
